package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

public class GSOperateRecord  implements GSBaseBean{
	
	private String ID;
	private int OPERATE_TYPE;
	private String OPERATE_CONTENT;
	private String OPERATE_TIME;
	private String OPERATE_USER_ID;
	private String OPERATE_USER_NAME;
	private String RECORD_ID;
	private String STATUS;
	private String REMARK;
	
	public Object process(ResultSet aResultSet) throws SQLException {
		GSOperateRecord operateRecord= new GSOperateRecord();
		operateRecord.ID = aResultSet.getString("ID") == null? "" :aResultSet.getString("ID");
		operateRecord.OPERATE_TYPE = aResultSet.getInt("OPERATE_TYPE");
		operateRecord.OPERATE_CONTENT = aResultSet.getString("OPERATE_CONTENT") == null? "" :aResultSet.getString("OPERATE_CONTENT");
		operateRecord.OPERATE_TIME = aResultSet.getString("OPERATE_TIME") == null? "" :aResultSet.getString("OPERATE_TIME");
		operateRecord.OPERATE_USER_ID = aResultSet.getString("OPERATE_USER_ID") == null? "" :aResultSet.getString("OPERATE_USER_ID");
		operateRecord.OPERATE_USER_NAME = aResultSet.getString("OPERATE_USER_NAME") == null? "" :aResultSet.getString("OPERATE_USER_NAME");
		operateRecord.RECORD_ID = aResultSet.getString("RECORD_ID") == null? "" :aResultSet.getString("RECORD_ID");
		operateRecord.STATUS = aResultSet.getString("STATUS") == null? "" :aResultSet.getString("STATUS");
		operateRecord.REMARK = aResultSet.getString("REMARK") == null? "" :aResultSet.getString("REMARK");

		return operateRecord;
	}

	public String getID() {
		return ID;
	}

	public void setID(String iD) {
		ID = iD;
	}

	public int getOPERATE_TYPE() {
		return OPERATE_TYPE;
	}

	public void setOPERATE_TYPE(int oPERATETYPE) {
		OPERATE_TYPE = oPERATETYPE;
	}

	public String getOPERATE_CONTENT() {
		return OPERATE_CONTENT;
	}

	public void setOPERATE_CONTENT(String oPERATECONTENT) {
		OPERATE_CONTENT = oPERATECONTENT;
	}

	public String getOPERATE_TIME() {
		return OPERATE_TIME;
	}

	public void setOPERATE_TIME(String oPERATETIME) {
		OPERATE_TIME = oPERATETIME;
	}

	public String getOPERATE_USER_ID() {
		return OPERATE_USER_ID;
	}

	public void setOPERATE_USER_ID(String oPERATEUSERID) {
		OPERATE_USER_ID = oPERATEUSERID;
	}

	public String getOPERATE_USER_NAME() {
		return OPERATE_USER_NAME;
	}

	public void setOPERATE_USER_NAME(String oPERATEUSERNAME) {
		OPERATE_USER_NAME = oPERATEUSERNAME;
	}

	public String getRECORD_ID() {
		return RECORD_ID;
	}

	public void setRECORD_ID(String rECORDID) {
		RECORD_ID = rECORDID;
	}

	public String getSTATUS() {
		return STATUS;
	}

	public void setSTATUS(String sTATUS) {
		STATUS = sTATUS;
	}

	public String getREMARK() {
		return REMARK;
	}

	public void setREMARK(String rEMARK) {
		REMARK = rEMARK;
	}

}
